Lucas de la Garza (lxd4)
The Best Page in the Universe

This page is about using Computer Vision "intelligent scissors" to select regions in images intelligently based on image gradient calculations.



Intelligent Scissors!



This project, using the "Intelligent Scissors" algorithm, utilizes "live-wire snapping" to allow a human to draw image region boundaries that automatically follow strong edges. By successively clicking seed nodes, and concatenating optimal paths (according to the image gradient intensity between individual pixels), you can extract from an image like this,

chromia

a series of contours like these,



which can be used to extract an "inside-outside" binary image, or "mask":



This is usable in programs like GIMP to do intelligent selection and fill, like for example:



Run this procedure with another image, say,



And you can extract the foreground by itself:



AND, with some Gnu Image Manipulation, you can get a masterpiece!




Thanks for stopping by!